﻿/**
 * The Log class lets you create a Log object that can be passed as an optional parameter to the constructor for the 
 * WebService class. For more information, see WebService constructor.
 * @author waneck
 */

package asc.soap;

extern class Log 
{
	static inline function __init__():Void untyped
	{
		__js__("asc.Log = Log");
		__js__("asc.LogLevel = Log");
	}

	public function new(?logLevel:LogLevel, ?logName:String):Void;
	
	dynamic function onLog(message:String):Void;
	
}

extern enum LogLevel
{
	BRIEF;
	VERBOSE;
	DEBUG;
}